package com.taskflow.mapper;

import com.taskflow.dto.LogQueryDTO;
import com.taskflow.entity.DownloadLog;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * 下载日志Mapper
 */
@Mapper
public interface DownloadLogMapper {
    
    int insert(DownloadLog log);
    
    int update(DownloadLog log);
    
    DownloadLog selectById(Long id);
    
    List<DownloadLog> selectList(LogQueryDTO query);
    
    Long selectCount(LogQueryDTO query);
}

